package com.qfedu.zy.dao;

import com.qfedu.zy.pojos.Item;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@MapperScan
@Repository
public interface ItemDAO {
    @Transactional
    public List<Item> listItem();
}
